﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PlanInterfejs
{
    class DAL : IDisposable
    {
        public static plandbEncje database = new plandbEncje(
            "metadata=res://*/PlanModelv3.csdl|res://*/PlanModelv3.ssdl|res://*/PlanModelv3.msl;provider=System.Data.SqlClient;provider connection string='Data Source=localhost\\SQLEXPRESS;Initial Catalog=plandb;Integrated Security=True;Pooling=False;MultipleActiveResultSets=True'"
            );

        public void Dispose()
        {
            database.Dispose();
        }
    }
}
